package com.baidb.service2.configuration;

import com.baidb.service2.ribbon.RibbonServerDiscoveryRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author baidb
 * @date 2021/6/16.
 */
@Configuration
public class OpenFeignClientsConfiguration {

    @Bean
    public RibbonServerDiscoveryRule discoveryEnabledRule() {
        return new RibbonServerDiscoveryRule();
    }

}
